/**
 * Created by one on 16-4-5.
 */
var mainData = require("../Data/index");
//var index = require("./index");
var Vue = require("vue");
var moduleTpl = require("./shareWrap.html");
var navTemplate = require("./nav/nav");
module.exports = Vue.extend({
    template: moduleTpl,
    created:function() {
        this.initData();
    },
    props: {

    },
    data: function() {
        return {
            "test":"test"
        };
    },
    ready:function(){
    },
    watch:{
    },
    components: {
        "nav-template": navTemplate
    },
    methods: {
        initData:function(){

        },
        getGoodsInfo:function() {
            mainData.getProductList(function(data) {
                alert("index");
                console.log(data.data);
            });
        }
    }
});